package com.lf.DAO;

import java.util.List;

import com.lf.entity.shiti.students;
import com.lf.entity.shiti.teacher;

public interface teacherDAO {
	
	/*查询所有老师信息*/
		
	public List<teacher> findAll();
	
	/*根据名字查询老师信息*/
	public List<teacher> find_name(String t_id);
	
	/*添加老师详情资料*/
	public int add_tea(String t_id,String t_name,String t_password);
	
	/*更新老师详情信息*/
	public int update_tea(String t_id,String t_name,String t_password);
	
	/*删除老师详情信息*/
	public int delect_tea(String t_id);
	
	/**
	 * 老师登录
	 * @param t_id
	 * @return
	 */
	public List<teacher> login(String t_id);
}
